<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<sfa:mainTitle></sfa:mainTitle>
		<%@ include file="../../../common/meta.jsp"%>
		<script type="text/javascript" language="Javascript"
			src="../../../script/FusionCharts/FusionCharts.js">
</script>
		<script type="text/javascript">
$(function() {
	fixTable.FixTable("mytable");
	$("#fullScreen").click(function() {
		fullScreen.FullScreen("mylist");
	});
})

function doQuery() {
	document.form1.action = "${path}/report/base/index/monthlyachievement";
	document.form1.submit();
}
function doExport(type) {
	document.form1.action = "${path}/report/base/index/exportmonthlyachievement?type="+type;
	document.form1.submit();
}
</script>
	</head>
	<body id="master">
		<sfa:mainHeader></sfa:mainHeader>
		<form action="" name="form1" method="post">
			<div class="webpart3 contentarea">
				<div class="webpart-head">
					<div class="webpart-head-item">
						年度各月业绩变化
						<div class="tools-btn" style="width: 250px;">
							<a href="####" onclick="doExport('pdf')"><span> <img
										src="${path}/statics/images/dcpdf.gif"
										style="margin-right: 4px; margin-bottom: -3px;" />导出PDF</span> </a>
							<a href="####" onclick="doExport('excel')"><span> <img
										src="${path}/statics/images/dcexcel.gif"
										style="margin-right: 4px; margin-bottom: -3px;" />导出EXCEL</span> </a>
							<a href="####" id="fullScreen"><span> <img
										src="${path}/statics/images/qp.gif"
										style="margin-right: 4px; margin-bottom: -3px;" />全屏</span> </a>
						</div>
					</div>
				</div>
				<div class="webpart-main">
					<div class="webpart-main-item" style="padding-top: 12px;">
						<div class="search">
							<table width="100%" border="0" cellspacing="0" cellpadding="10"
								class="table_form">
								<tbody>
									<tr>
										<td align="right">
											年度：
										</td>
										<td>
											<input type="text" readonly="readonly" id="reportdate"
												name="reportdate" value="${reportdate}"  class="input-txt"
												onclick="WdatePicker({dateFmt:'yyyy'})" />
										</td>
										<td align="right">
												<input name="Input" type="button" class="linkbtn2" value="查  询"
											onclick="doQuery()" /> 
										</td>
								</tbody>
							</table>
						</div>
						<!-- 查詢列表 -->
						&nbsp;
							<div id="mylist" style="height: 365px;" class="dlist">
							<table id="mytable" cellpadding="0" cellspacing="0"
								class="dg_borderstyle  trStyleTable"
								style="margin-top: 0px; text-align: center;">
									<tr>
										<th align="center" style="min-width: 100px; max-width: 100px;"
											name="fixcol">
											督导区
										</th>
										<th align="center" style="min-width: 100px; max-width: 100px;"
											name="fixcol">
											价保
										</th>
										<th align="center">
											一月
										</th>
										<th align="center">
											二月
										</th>
										<th align="center">
											三月
										</th>
										<th align="center">
											四月
										</th>
										<th align="center">
											五月
										</th>
										<th align="center">
											六月
										</th>
										<th align="center">
											七月
										</th>
										<th align="center">
											八月
										</th>
										<th align="center">
											九月
										</th>
										<th align="center">
											十月
										</th>
										<th align="center">
											十一月
										</th>
										<th align="center">
											十二月
										</th>
										<th align="center">
											汇总
										</th>
									</tr>
									<c:forEach items="${pagination}" var="list">
										<tr>
											<td width="100px" rowspan="2" align="center" valign="middle">
												${list.ubranchname}
											</td>

											<td align="center" width="45px">
												受理价保
											</td>
											<td align="center" width="50px">
												${list.col15}
											</td>
											<td align="center" width="50px">
												${list.col16}
											</td>
											<td align="center" width="50px">
												${list.col17}
											</td>
											<td align="center" width="50px">
												${list.col18}
											</td>
											<td align="center" width="50px">
												${list.col19}
											</td>
											<td align="center" width="50px">
												${list.col20}
											</td>
											<td align="center" width="50px">
												${list.col21}
											</td>
											<td align="center" width="50px">
												${list.col22}
											</td>
											<td align="center" width="50px">
												${list.col23}
											</td>
											<td align="center" width="50px">
												${list.col24}
											</td>
											<td align="center" width="50px">
												${list.col25}
											</td>
											<td align="center" width="50px">
												${list.col26}
											</td>
											<td align="center" width="50px">
												${list.col13}
											</td>
										</tr>

										<tr>
											<td align="center" width="45px">
												核保价保
											</td>
											<td align="center" width="50px">
												${list.col27}
											</td>
											<td align="center" width="50px">
												${list.col28}
											</td>
											<td align="center" width="50px">
												${list.col29}
											</td>
											<td align="center" width="50px">
												${list.col30}
											</td>
											<td align="center" width="50px">
												${list.col31}
											</td>
											<td align="center" width="50px">
												${list.col32}
											</td>
											<td align="center" width="50px">
												${list.col33}
											</td>
											<td align="center" width="50px">
												${list.col34}
											</td>
											<td align="center" width="50px">
												${list.col35}
											</td>
											<td align="center" width="50px">
												${list.col36}
											</td>
											<td align="center" width="50px">
												${list.col37}
											</td>
											<td align="center" width="50px">
												${list.col38}
											</td>
											<td align="center" width="50px">
												${list.col14}
											</td>
										</tr>
									</c:forEach>
									<tr>
										<td width="70px" rowspan="2" align="center">
											汇总
										</td>
										<td align="center" width="50px">
											受理价保
										</td>
										<td align="center">
											${s1}

										</td>
										<td align="center">
											${s3}
										</td>
										<td align="center">
											${s5}
										</td>
										<td align="center">
											${s7}
										</td>
										<td align="center">
											${s9}
										</td>
										<td align="center">
											${s11}
										</td>
										<td align="center">
											${s13}
										</td>
										<td align="center">
											${s15}
										</td>
										<td align="center">
											${s17}
										</td>
										<td align="center">
											${s19}
										</td>
										<td align="center">
											${s21}
										</td>
										<td align="center">
											${s23}
										</td>
										<td align="center">
											${s25}
										</td>
									</tr>

									<tr>
										<td align="center" width="55px">
											核保价保
										</td>
										<td align="center">
											${s2}
										</td>
										<td align="center">
											${s4}
										</td>
										<td align="center">
											${s6}
										</td>
										<td align="center">
											${s8}
										</td>
										<td align="center">
											${s10}
										</td>
										<td align="center">
											${s12}
										</td>
										<td align="center">
											${s14}
										</td>
										<td align="center">
											${s16}
										</td>
										<td align="center">
											${s18}
										</td>
										<td align="center">
											${s20}
										</td>
										<td align="center">
											${s22}
										</td>
										<td align="center">
											${s24}
										</td>
										<td align="center">
											${s26}
										</td>
									</tr>

						
							</table>
						</div>
					</div>
				</div>
				<div class="webpart-foot">
						<div class="webpart-foot-item">
						</div>
					</div>
				</div>
				
				
		</form>
		<sfa:mainFooter></sfa:mainFooter>


	</body>
</html>

